/*
 *  Copyright (c) 2013 The CCP project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a Beijing Speedtong Information Technology Co.,Ltd license
 *  that can be found in the LICENSE file in the root of the web site.
 *
 *   http://www.yuntongxun.com
 *
 *  An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */
package com.kedll.library.dialog;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.kedll.library.R;


/**
 * 网络访问对话框
 *
 * @version 4.0
 * @date 2015-1-4
 */
public class ECProgressDialogFragment extends KBaseDialogFragment {

    private TextView mTextView;

    @Override
    protected void initView(View rootView) {
        mTextView = rootView.findViewById(R.id.textview);
    }

    @Override
    protected void loadData(Bundle arguments) {

    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        setCancelable(true);
    }

    @Override
    protected void initEvent() {
        mTextView.setText(sTitle);
//        Animation loadAnimation = AnimationUtils.loadAnimation(getContext(), R.anim.loading);
//        mImageView.startAnimation(loadAnimation);
    }

    @Override
    protected int getLayout() {
        return R.layout.common_loading_diloag;
    }
}
